<h1>Listing settings</h1>

<table width="100%">
  <tr>
    <th>Name</th>
    <th>Value</th>
    <th width="10%">Group</th>
    <th colspan="3" width="10%">Options</th>
  </tr>

<% for setting in @settings %>
  <tr class="<%= cycle("odd","even") -%>">
    <td><%=h setting.name %></td>
    <td><%=h setting.value %></td>
    <td><%=h setting.group %></td>
    <td><%= link_to 'Show', setting %></td>
    <td><%= link_to 'Edit', edit_setting_path(setting) %></td>
    <td><%= link_to 'Destroy', setting, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New setting', new_setting_path %>
